<!DOCTYPE html>
<html lang="en">
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<head>
    <title>Search.com - Ver publicaci&oacute;n</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/layout.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<link type="text/css" href="css/autosuggest_inquisitor.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.4.2.js" ></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/cufon-replace.js"></script> 
<script type="text/javascript" src="js/Myriad_Pro_300.font.js"></script>
<script type="text/javascript" src="js/Myriad_Pro_400.font.js"></script>
<script type="text/javascript" src="js/bsn.AutoSuggest_2.1.3.js"></script>
</head>
<body id="page3">
<div class="body1"></div>
<div class="body2">
	<div class="main">
<!--header -->
		<header>
			<div class="wrapper">
				<nav>
					<ul id="menu">
						<li><a href="/">Inicio</a></li>
						<li><a href="explorar">Explorar </a></li>
						<li><a href="ultimaspublicaciones">&Uacute;ltimas publicaciones</a></li>
						<li><a href="publicar">Publicar</a></li>
						<li class="bg_none"><a href="contacto">Contacto</a></li>
					</ul>
				</nav>
				<h1><a href="/" id="logo">Search.com</a></h1>
			</div>
			<div class="wrapper">
                            <form action="search" method="GET">
				<article class="col1 pad_left2">
                                    <div class="text1">Ver publicaci&oacute;n</div>
                    <p class="results">
	                    Archivo: <strong class="white">${documento.ruta}</strong><br />
                    	T&iacute;tulo: <strong class="white">${documento.nombre}</strong><br />
                    	Autor: <strong class="white">${documento.autor}</strong><br />
                        Pagina: <strong class="white">${documento.paginas}</strong><br />
                        Tama&ntilde;o: <strong class="white">${documento.longitudString}</strong><br />
                    </p>
				</article>
                            </form>
			</div>
		</header>
	</div>
</div>
<!--header end-->
<!--content -->
<div class="body3">
	<div class="main">
		<section class="content_search">
			<article class="pad pageerror">
                            <h2 class="singlepadding">Ver publicaci&oacute;n</h2>
			</article>
		</section>
	</div>
</div>
<div class="main">
    <br />
    <div>
        <embed src="/download?id=${documento.idDocument}" type="application/pdf" width="800" height="375"></embed>
    </div>
</div>
<!--content end-->
<!--footer -->

<div class="body5">
	<div class="main">
		<footer>&copy; 2011 <a href="http://www.search.com/">Search.com</a>  - U.T.N. F.R.C. <br /><strong>Dise&ntilde;o de Lenguajes de Consulta</strong>
		</footer>
	</div>
</div>
<!--footer end-->
<script type="text/javascript"> Cufon.now(); </script>
<script type="text/javascript">
	var options_xml = {
		script: "/suggestions?",
		varname: "q",
		shownoresults:false,
		maxresults: 5,
		callback: function (obj) { }
	};
	var as_xml = new bsn.AutoSuggest('query', options_xml);
</script>
</body>
</html>